Skip to content

Conversation

PaulYuuu
Copy link

Uses ghostty +show-config to get effective configuration including sourced config files, with fallback to static config file parsing. This resolves detection failures when configs use config-file directives.

Ref: ghostty-org/ghostty@de428d9

Uses ghostty +show-config to get effective configuration including
sourced config files, with fallback to static config file parsing.
This resolves detection failures when configs use config-file
directives.

Ref: ghostty-org/ghostty@de428d9
Signed-off-by: Yihuang Yu <[email protected]>
@PaulYuuu
Copy link
Author

My ghostty config:

cat ~/.config/ghostty/config
config-file = conf.d/general
config-file = conf.d/font
config-file = conf.d/window
config-file = conf.d/cursor
config-file = conf.d/mouse
config-file = conf.d/clipboard
config-file = conf.d/keymap

Without fix:
image
With fix:
image

@CarterLi
Copy link
Member

Just remove the old implementation I think.

Please test if de92296 works for you.

@PaulYuuu
Copy link
Author

Just remove the old implementation I think.

Please test if de92296 works for you.

Thank you for the fix, that works for me. and remove old detection is nice for maintainence.

Let me close this PR.

@PaulYuuu PaulYuuu closed this Sep 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants